import {defineStore} from "pinia";

export const commonStore = defineStore('commonStore', {
    state: () => {
        return {
            i18nType: 'zh',
        }
    },
    actions: {
        /**
         * 设置语言类型
         * @param i18nType
         */
        setI18nType(i18nType: string) {
            this.i18nType = i18nType;
        }
    }
})
